package com.scb.dev.mms.feign;

import com.scb.dev.mms.common.ResponseResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by 1594215 on 11/28/2018.
 */
@FeignClient(name = "mms-provider-user")
public interface EmployeeFeign {

    /**
     * getMenuTree: 调用authority接口生成树形菜单
     *
     * @param roleId
     * @return
     */
    @RequestMapping(value = "/sm/employee/setDefaultRoleId/{roleId}", method = RequestMethod.PUT)
    ResponseResult setDefaultRoleId(@PathVariable("roleId") String roleId);
}
